/* GLOBAL STYLES
-------------------------------------------------- */

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  //margin-bottom: 2rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background-color: #777;
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

.carousel-indicators li {
  height: 16px;
  width: 16px;
  border-radius: 100%;
  margin: 0 8px;
}

.pic-box {
  .col:nth-of-type(1) {
    padding-left: 15px;
  }
  .col:last-child {
    padding-right: 15px;
  }
}

.news-box {
  margin-bottom: 10px;
  .news-title {
    height: 30px;
    color: #434A54;
    font-size: 18px;
    padding: 0;
    margin: 0;
  }
  a{
    display: block;
    margin-right: 8px;

  }

  .news-body {
    background-color: #EEEEEE;
    a {
      text-decoration: none;
      color: #434A54;
      font-size: 12px;
    }
  }
}

.course-box {
  .img-fluid {
    width: 100%;
    border-radius: 10px;
    height: 170px;
  }
  .course-body {
    height: 15px;
    a {
      text-decoration: none;
      color: #434A54;
      font-size: 14px;
    }
    p {
      color: #999;
      font-size: 12px;
      padding: 0;
    }
  }
  .media__body {
    border-radius: 10px;
  }
}

.programme-box {
  .programme-title {
    color: #434A54;
    font-size: 14px;
    span {
      display: inline-block;
      padding-left: 10px;
      font-size: 12px;
      color: #407ECB;
    }
  }
  .img-fluid {
    height: 170px;
    border-radius: 10px;
  }
  .programme-desc {
    position: absolute;
    left: 0;
    top: 136px;
    color: white;
    font-size: 18px;
    line-height: 34px;
    text-align: center;
    background-color: black;
    opacity: 0.7;
    width: 100%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  .programme-main-desc {
    position: absolute;
    left: 0;
    top: 124px;
    color: white;
    font-size: 14px;
    height: 46px;
    text-align: center;
    background-color: black;
    padding: 0 30px;
    opacity: 0.7;
    width: 100%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
}

.teachers-box {
  background: rgba(230, 231, 237, 1);
  border-radius: 10px;
  .img-fluid {
    height: 240px;
    width: 100%;
    border-radius: 10px;
  }
  .teacher-body {
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  .media-item {
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    font-size: 14px;
    height: 50px;
    text-align: center;
    background-color: black;
    padding: 0 15px;
    opacity: 0.7;
    width: 100%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    .call {
      font-size: 16px;
      padding-top: 3px;
      height: 26px;
      margin: 0;
    }
    .name {
      font-size: 14px;
      margin: 0;
    }
  }
}
.advert-box{
  background: url("../../image/bg.png");
  background-repeat:no-repeat; background-size:100% 100%;-moz-background-size:100% 100%;
  .title{
    text-align: center;
    color: #434A54;
    font-size: 24px;
    margin: 0;
  }
  .desc{
   text-align: center;
    font-size: 12px;
    color: #434A54;
    margin-bottom: 2rem;
  }
}
.adv-box{
  .title{
    text-align: center;
    color: #434A54;
    font-size: 24px;
    margin: 0;
  }
  .adv-left{
    background-color: #FFBC2D;
    padding: 15px;
    color: #1D1D1D;
    .media-title{
      color: #1D1D1D;
      .sub-title{
        padding-left: 10px;
        font-size: 14px;
        color: #A67100;
      }
    }
  }
  .adv-right{
    background-color: #407ECB;
    padding: 15px;
    color: white;
    .media-title{
      color: white;
      .sub-title{
        padding-left: 10px;
        font-size: 14px;
        color: #0951AA;
      }
    }
  }
}
.footer{
  background-color: #434A54;
  color: white;
  text-align: center;
}
.footer-top{
  padding-top: 35px;
  height: 136px;
  background-color: #626871;
  .footer-title{
    text-align: left;
    font-size: 24px;

  }
  .mobile{
    color:#49FFD3;
    font-weight: bold;
    margin-left: 10px;
    font-size: 20px;
  }
  span{
    vertical-align: bottom;
    height: 14px;
    line-height: 14px;
  }
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
}